extends AnimatedSprite2D

signal  Da_Ji

var _JD = 0

func addFX(JD:float):
	_JD = JD
	print("发射角度",JD)


func _process(delta: float) -> void:
	position += Vector2(Vector2.RIGHT.rotated(_JD) * 300 * delta)



func _on_area_2d_body_entered(body: Node2D) -> void:
	print("解除到了")
	Da_Ji.emit()
	queue_free()


func _on_visible_on_screen_notifier_2d_screen_exited() -> void:
	queue_free()
